package com.entity;

import java.util.Date;

/**
 * ProductImage entity. @author MyEclipse Persistence Tools
 */

public class ProductImage implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private Production production;
	private String productImage;
	private Integer imageSort;
	private Boolean isRotate;
	private String imageEditor;
	private Date addTime;
	
	public final static String IS_ROTATE = "isRotate";
	public final static String IMAGE_SORT = "imageSort";

	// Constructors

	/** default constructor */
	public ProductImage() {
	}

	/** full constructor */
	public ProductImage(Production production, String productImage,
			Integer imageSort) {
		this.production = production;
		this.productImage = productImage;
		this.imageSort = imageSort;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Production getProduction() {
		return this.production;
	}

	public void setProduction(Production production) {
		this.production = production;
	}

	public String getProductImage() {
		return this.productImage;
	}

	public void setProductImage(String productImage) {
		this.productImage = productImage;
	}

	public Integer getImageSort() {
		return this.imageSort;
	}

	public void setImageSort(Integer imageSort) {
		this.imageSort = imageSort;
	}

	public Boolean getIsRotate() {
		return isRotate;
	}

	public void setIsRotate(Boolean isRotate) {
		this.isRotate = isRotate;
	}

	public String getImageEditor() {
		return imageEditor;
	}

	public void setImageEditor(String imageEditor) {
		this.imageEditor = imageEditor;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

}